package cn.dm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@SpringBootApplication
@EnableHystrixDashboard
@EnableCircuitBreaker
public class HighConcurrencyApp extends WebMvcConfigurerAdapter {

    public static void main(String[] args) {
        SpringApplication.run(HighConcurrencyApp.class, args);
    }

}
